﻿using YNTK.Common.Const;
using SqlSugar;

namespace YNTK.Employees.Entitys.Entity
{
    /// <summary>
    /// 员工教育经历
    /// </summary>
    [SugarTable("employees_educationexperiences")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class EducationExperiencesEntity
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", ColumnDescription = "id")]
        public string Id { get; set; }

        /// <summary>
        /// 员工id
        /// </summary>
        [SugarColumn(ColumnName = "F_EmployeeId", ColumnDescription = "员工id")]
        public string EmployeeId { get; set; }

        /// <summary>
        /// 学历(0.学前教育 1.小学 2.初中 3.中专 4.高中 5.专科 6.本科 7.硕士研究生 8.博士研究生)
        /// </summary>
        [SugarColumn(ColumnName = "F_Education", ColumnDescription = "学历")]
        public int? Education { get; set; }

        /// <summary>
        /// 学位(0.无 1.学士 2.硕士 3.博士)
        /// </summary>
        [SugarColumn(ColumnName = "F_Degree", ColumnDescription = "学位(0.无 1.学士 2.硕士 3.博士)")]
        public int? Degree { get; set; }

        /// <summary>
        /// 入学日期
        /// </summary>
        [SugarColumn(ColumnName = "F_EnrollmentDate", ColumnDescription = "入学日期")]
        public DateTime? EnrollmentDate { get; set; }

        /// <summary>
        /// 毕业日期
        /// </summary>
        [SugarColumn(ColumnName = "F_GraduationDate", ColumnDescription = "毕业日期")]
        public DateTime? GraduationDate { get; set; }

        /// <summary>
        /// 学校
        /// </summary>
        [SugarColumn(ColumnName = "F_School", ColumnDescription = "学校")]
        public string School { get; set; }

        /// <summary>
        /// 专业
        /// </summary>
        [SugarColumn(ColumnName = "F_Professional", ColumnDescription = "专业")]
        public string Professional { get; set; }

        /// <summary>
        /// 是否全日制
        /// </summary>
        [SugarColumn(ColumnName = "F_FullTime", ColumnDescription = "是否全日制", ColumnDataType = "bit")]
        public bool FullTime { get; set; }

        /// <summary>
        /// 证书编码
        /// </summary>
        [SugarColumn(ColumnName = "F_CertificateNo", ColumnDescription = "证书编码")]
        public string CertificateNo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]
        public string Description { get; set; }

        /// <summary>
        /// 毕业证照片服务器存储路径
        /// </summary>
        [SugarColumn(ColumnName = "F_GraduationCardFilePath")]
        public string GraduationCardFilePath { get; set; }

        /// <summary>
        /// 学位证照片服务器存储路径
        /// </summary>
        [SugarColumn(ColumnName = "F_DegreeFilePath")]
        public string DegreeFilePath { get; set; }
    }
}
